package com.test.travelinformation.entity;

import cn.bmob.v3.BmobObject;

/**
 * 收藏表
 */
public class Collect extends BmobObject {
    /**
     * 信息ID
     */
    private String travelId;
    /**
     * 收藏者的ID
     */
    private String userId;
    /**
     * 收藏者的用户名
     */
    private String userName;

    public String getTravelId() {
        return travelId;
    }

    public void setTravelId(String travelId) {
        this.travelId = travelId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "Collect{" +
                "travelId='" + travelId + '\'' +
                ", userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
